﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Pages/CommonPages/MasterPageBackEnd.master" AutoEventWireup="true" CodeFile="updateCompetition.aspx.cs" Inherits="Pages_ManagerPages_updateCompetition" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
    <div class="block">
        <h2>Pesonal Info</h2>
        <ul>
            <li><i class="fa fa-angle-right"></i>Change Password</li>
            <li><i class="fa fa-angle-right"></i>Update Info</li>
        </ul>
    </div>
    <div class="block">
        <h2>PAGE</h2>
        <ul id="content-box-tabs">
            <li><i class="fa fa-angle-right"></i>Students
                <ul class="managerOption">
                    <li onclick="displayBlock('studentList');getAllStudent();"><i class="fa fa-angle-right"></i>Student List</li>
                    <li onclick="displayBlock('addStudent')"><i class="fa fa-angle-right"></i>Add</li>
                </ul>
            </li>
            <li><i class="fa fa-angle-right"></i>Staff
                <ul class="managerOption">
                     <li onclick="displayBlock('staffList')"><i class="fa fa-angle-right"></i>Staff List</li>
                     <li onclick="displayBlock('addStaff')"><i class="fa fa-angle-right"></i>Add</li>
                </ul>
             </li>
            <li><i class="fa fa-angle-right"></i>Competition
                <ul class="managerOption">
                    <li onclick="displayBlock('competitionList')"><i class="fa fa-angle-right"></i>Competition List</li>
                    <li onclick="displayBlock('addCompetition')"><i class="fa fa-angle-right"></i>Add</li>
                </ul>
            </li>
        </ul>
    </div>

</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder2" Runat="Server">
    <div class="updateCompetition">    
            <h4>Competition</h4>
            <table class="tablecompetition">
                <tr>
                    <td>
                        <asp:Label ID="lblCompetitionName" runat="server" Text="Name:"></asp:Label>                        
                    </td>
                    <td>
                        <asp:TextBox  ID="txtCompetitionName" runat="server"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label ID="lblCompetitonPostDate" runat="server" Text="Post Date:"></asp:Label>
                        
                    </td>
                    <td>
                        <asp:TextBox ID="txtCompetitonPostDate" runat="server" 
                            CssClass="datetimePicker" ClientIDMode="Static"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                         <asp:Label ID="lblCompetitionEndDate" runat="server" Text="End Date:"></asp:Label>                            
                        
                    </td>
                    <td>
                        <asp:TextBox ID="txtCompetitionEndDate" CssClass="datetimePicker" 
                            runat="server" ClientIDMode="Static"></asp:TextBox>                                                  
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="tablecontentleft" ID="lblCompetitionDescription" runat="server" Text="Description:"></asp:Label>                            
                    </td>
                    <td>
                        <asp:TextBox ID="txtCompetitionDescription" runat="server" TextMode="MultiLine" 
                            ClientIDMode="Static"></asp:TextBox>                        
                    </td>
                </tr>
            </table>
            <table class="tablecompetition">
                <tr>
                    <td>
                        <asp:Label CssClass="tablecontentleft" ID="lblCompetitionAward" runat="server" Text="Award:"></asp:Label>
                        
                    </td>
                    <td>
                        <asp:TextBox  ID="txtCompetitionAward" runat="server"></asp:TextBox>                         
                    </td>
                </tr>
                <tr>
                    <td>
                    <asp:Label CssClass="tablecontentleft" ID="lblCompetitonStartDate" runat ="server" Text="Start Date:"></asp:Label>                            
                        
                    </td>
                    <td>
                        <asp:TextBox  ID="txtCompetitionStartDate" CssClass="datetimePicker" 
                            runat="server" ClientIDMode="Static"></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td>
                        <asp:Label CssClass="tablecontentleft" ID="lbllistManager" runat="server" Text="Manager:"></asp:Label>                                                
                    </td>
                    <td>
                        <asp:DropDownList ID="listManager" runat="server" ClientIDMode="Static" AutoPostBack="True">
                        </asp:DropDownList>
                    </td>
                </tr>
                <tr>
                    
                    <td>
                        <asp:Label ID="lblCompetitionQuotation" runat="server" Text="Quotation:"></asp:Label>                            
                    </td>
                    <td>
                        <asp:TextBox ID="txtCompetitionQuotation" runat="server" TextMode="MultiLine" 
                            ClientIDMode="Static"></asp:TextBox>   
                    </td>
                </tr>
                <tr>
                    <td>
                        
                    </td>
                    <td >
                       <asp:Button ID="btnUpdateCompetition" runat="server" Text="Update" ClientIDMode="Static" />
                    </td>
                </tr>
            </table>                                          
        
</div>

</asp:Content>

